package oo.day08;

public class Homework {
    public static void main(String[] args) {
        Teacher t = new Teacher();
        t.setName("dbx");
        t.setAge(30);
        t.setAddress("重庆");
        System.out.println("我叫"+t.getName()+"，今年"+t.getAge()+"岁了，我来自"+t.getAddress());

        Teacher t1 = new Teacher();
        t1.setName("yhh");
        t1.setAge(31);
        t1.setAddress("北京");
        System.out.println("我叫"+t1.getName()+"，今年"+t1.getAge()+"岁了，我来自"+t1.getAddress());
    }
}
